﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="AdType.aspx.cs" Inherits="Whir_System_Module_Config_AdType" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title></title>
    <link href="../../Skin/Default/Css/main.css" rel="stylesheet" type="text/css" />

    <script language="javascript" type="text/javascript">
        if (top.location == self.location) { 
            alert('禁止访问子栏目页！将跳转到默认页面');
            top.location='../../Default.aspx';
        } 
    </script>

</head>
<body>
    <form id="form1" runat="server">
        <table width="100%" border="0" cellpadding="0" cellspacing="1" bgcolor="#DADADA">
            <tr>
                <td height="26" colspan="2" align="left" class="form_title">
                    <strong>广告类型</strong></td>
            </tr>
            <tr>
                <td height="30" align="center" class="form_tdText">
                    广告类型：
                </td>
                <td class="form_td">
                    <asp:RadioButtonList ID="rblAdType" runat="server" RepeatColumns="4" RepeatDirection="Horizontal"
                        AutoPostBack="True" OnSelectedIndexChanged="rblAdType_SelectedIndexChanged">
                        <asp:ListItem Text="弹出窗口" Value="1"></asp:ListItem>
                        <asp:ListItem Text="页面浮动" Value="2"></asp:ListItem>
                        <asp:ListItem Text="两侧浮动" Value="3"></asp:ListItem>
                        <asp:ListItem Text="页面漂浮" Value="4"></asp:ListItem>
                        <asp:ListItem Text="随机显示" Value="5"></asp:ListItem>
                        <asp:ListItem Text="顺序切换" Value="6"></asp:ListItem>
                        <asp:ListItem Text="固定Banner" Value="7"></asp:ListItem>
                        <asp:ListItem Text="滚动显示" Value="8"></asp:ListItem>
                    </asp:RadioButtonList>
                </td>
            </tr>
            <tbody id="Tbody1" runat="server" visible="false">
                <tr>
                    <td height="30" align="center" class="form_tdText">
                        边距：
                    </td>
                    <td class="form_td">
                        顶边：<asp:TextBox ID="txtAdType1ZoneTop" runat="server" Width="40px" />
                        X 侧边：<asp:TextBox ID="txtAdType1ZoneLeft" runat="server" Width="40px" />
                        （单位：像素）
                    </td>
                </tr>
            </tbody>
            <tbody id="Tbody2" runat="server" visible="false">
                <tr>
                    <td height="30" align="center" class="form_tdText">
                        位置：
                    </td>
                    <td class="form_td">
                        <asp:RadioButtonList ID="rblAdType2Zone" runat="server" RepeatDirection="Horizontal"
                            RepeatLayout="Flow">
                            <asp:ListItem Text="左侧" Value="left"></asp:ListItem>
                            <asp:ListItem Text="右侧" Value="right"></asp:ListItem>
                        </asp:RadioButtonList>
                    </td>
                </tr>
                <td height="30" align="center" class="form_tdText">
                    边距：
                </td>
                <td class="form_td">
                    顶边：<asp:TextBox ID="txtAdType2ZoneTop" runat="server" Width="40px" />
                    X 侧边：<asp:TextBox ID="txtAdType2ZoneLeft" runat="server" Width="40px" />
                    （单位：像素）
                </td>
                <tr>
                    <td height="30" align="center" class="form_tdText">
                        允许关闭：
                    </td>
                    <td class="form_td">
                        <asp:CheckBox ID="chkAdType2IsClose" runat="server" />
                    </td>
                </tr>
            </tbody>
            <tbody id="Tbody3" runat="server" visible="false">
                <td height="30" align="center" class="form_tdText">
                    边距：
                </td>
                <td class="form_td">
                    顶边：<asp:TextBox ID="txtAdType3ZoneTop" runat="server" Width="40px" />
                    X 侧边：<asp:TextBox ID="txtAdType3ZoneLeft" runat="server" Width="40px" />
                    （单位：像素）
                </td>
            </tbody>
            <tbody id="Tbody4" runat="server" visible="false">
                <tr>
                    <td height="30" align="center" class="form_tdText">
                    </td>
                    <td class="form_td">
                    </td>
                </tr>
            </tbody>
            <tbody id="Tbody5" runat="server" visible="false">
                <tr>
                    <td height="30" align="center" class="form_tdText">
                        允许关闭：
                    </td>
                    <td class="form_td">
                        <asp:CheckBox ID="chkAdType5IsClose" runat="server" />
                    </td>
                </tr>
            </tbody>
            <tbody id="Tbody6" runat="server" visible="false">
                <tr>
                    <td height="30" align="center" class="form_tdText">
                    </td>
                    <td class="form_td">
                    </td>
                </tr>
            </tbody>
            <tbody id="Tbody7" runat="server" visible="false">
                <tr>
                    <td height="30" align="center" class="form_tdText">
                    </td>
                    <td class="form_td">
                    </td>
                </tr>
            </tbody>
            <tbody id="Tbody8" runat="server" visible="false">
                <tr>
                    <td height="30" align="center" class="form_tdText">
                        滚动：
                    </td>
                    <td class="form_td">
                        <asp:DropDownList ID="ddlAdType8Move" runat="server">
                            <asp:ListItem Text="向上" Value="up"></asp:ListItem>
                            <asp:ListItem Text="向下" Value="down"></asp:ListItem>
                        </asp:DropDownList>
                    </td>
                </tr>
                <tr>
                    <td height="30" align="center" class="form_tdText">
                        速度：
                    </td>
                    <td class="form_td">
                        <asp:TextBox ID="txtAdType8Speed" runat="server" Width="40px"></asp:TextBox>
                        （1-10）数值越大速度越快</td>
                </tr>
            </tbody>
            <tr>
                <td height="30" align="center" class="form_tdText">
                    描述：
                </td>
                <td class="form_td">
                    <asp:TextBox ID="txtDesc" runat="server" CssClass="input_textarea" Height="60px"
                        TextMode="MultiLine" Width="200px"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td height="30" align="center" class="form_tdText">
                    Js 路径：
                </td>
                <td class="form_td">
                    <asp:TextBox ID="txtJSPath" runat="server"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td height="30" align="center" class="form_tdText">
                </td>
                <td class="form_td">
                    <asp:Button ID="btnSumbit" runat="server" CssClass="btn_default" Text="提交" OnClick="btnSumbit_Click" />
                    &nbsp;&nbsp;
                    <asp:Button ID="btnCancel" runat="server" Text="返回" CssClass="btn_default" CausesValidation="False" />
                </td>
            </tr>
        </table>
    </form>
</body>
</html>
